package dao.univ;

import vo.UnivVO;

import com.ibatis.sqlmap.client.SqlMapClient;

public class UnivDAOImpl implements UnivDAO{

	private SqlMapClient sqlMapClient;

	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}

	@Override
	public UnivVO getUnivInfo(int majorunit_no) throws Exception {
		return (UnivVO) sqlMapClient.queryForObject("univ.getUnivInfo",majorunit_no);
	}
	
}
